#include<stdio.h>
#include<stdlib.h>

int main(){
  FILE* fd = fopen("myfile","w");
  if(fd == NULL){
    perror("fopen");
    exit(1);
  }
  char buff[]="claus is  me\n";
  fwrite(buff,sizeof(char),sizeof(buff)-1,fd);
  fclose(fd);
  
  return 0;
}
